package com.apexedu.portal.entity;

import java.io.Serializable;
import java.util.List;

/**
 * 资源问题 
 * Created by janabo on 2015年1月12日
 */
@SuppressWarnings("serial")
public class TProblemNew implements Serializable {
	private String wid;
	private String pproblem;// 问题标题
	private String pcontent;// 问题描述
	private String puser;// 提问人
	private String ptime;// 提问时间
	private String tid;// 问题类型
	private String stid;// 服务所属类型id
	private String sid;// 服务id
	private String zymc;//资源名称
	private String annex;
	private String state;
	private List<TAnswerPro> anspros;//回答问题列表
	private List<TDiscuss> discusss;//评论列表
	
	public String getWid() {
		return wid;
	}
	
	public void setWid(String wid) {
		this.wid = wid;
	}
	
	public String getPproblem() {
		return pproblem;
	}
	
	public void setPproblem(String pproblem) {
		this.pproblem = pproblem;
	}
	
	public String getPcontent() {
		return pcontent;
	}
	
	public void setPcontent(String pcontent) {
		this.pcontent = pcontent;
	}
	
	public String getPuser() {
		return puser;
	}
	
	public void setPuser(String puser) {
		this.puser = puser;
	}
	
	public String getPtime() {
		return ptime;
	}
	
	public void setPtime(String ptime) {
		this.ptime = ptime;
	}
	
	public String getTid() {
		return tid;
	}
	
	public void setTid(String tid) {
		this.tid = tid;
	}
	
	public String getStid() {
		return stid;
	}
	
	public void setStid(String stid) {
		this.stid = stid;
	}
	
	public String getSid() {
		return sid;
	}
	
	public void setSid(String sid) {
		this.sid = sid;
	}
	
	public String getZymc() {
		return zymc;
	}
	
	public void setZymc(String zymc) {
		this.zymc = zymc;
	}
	
	public String getAnnex() {
		return annex;
	}
	
	public void setAnnex(String annex) {
		this.annex = annex;
	}
	
	
	public List<TAnswerPro> getAnspros() {
		return anspros;
	}

	public void setAnspros(List<TAnswerPro> anspros) {
		this.anspros = anspros;
	}
	

	public List<TDiscuss> getDiscusss() {
		return discusss;
	}

	public void setDiscusss(List<TDiscuss> discusss) {
		this.discusss = discusss;
	}

	@Override
	public String toString() {
		return "TPROBLEM [wid=" + wid + ", pproblem=" + pproblem + ", pcontent=" + pcontent + ", puser=" + puser + ", ptime=" + ptime + ", tid=" + tid
				+ ", stid=" + stid + ", sid=" + sid + ", zymc=" + zymc + ", annex=" + annex + "]";
	}
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
}
